package com.scitc.mapper;

import com.scitc.model.HistoryItem;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

/**
 * @author: zk
 * @date: 2021/7/11 1:05
 * @description: null
 */
@Mapper
public interface HistoryMapper {

    public List<HistoryItem> findAllHis(String id);

    public void addHis(HistoryItem historyItem);

    public Integer countHis(String id);

    public Integer removeHis(String id);

    public HistoryItem findTheOldest(String id);

}
